<template>
    <div class="front-padding" v-drag v-loading="loading[0]" element-loading-text="拼命加载中..." element-loading-spinner="el-icon-loading" element-loading-background="#fff">
		<div class="tree-left bg-white">
			<div class="tit">客户资料</div>
			<div class="tree bj">
				<el-scrollbar style="height: 100%;">
					<v-tree/>
				</el-scrollbar>
			</div>
		</div>
		<div class="tree-right bg-white">
			<v-menu/>
			<div class="table top-bottom bj">
				<el-scrollbar style="height: 100%;">
					<v-table/>
				</el-scrollbar>
			</div>
		</div>
	</div>
</template>
<script>
import Tree from './tree'
import Menu from './menu'
import Table from './table'
export default {
    components: {
		'v-tree': Tree,
		'v-menu': Menu,
		'v-table': Table
	},
    data() {
        return {
        	loading: this.$store.state.customerStore.loading
        }
    },
    created() {
    	this.$store.commit('customerStore/updateExpandNodeId');
    }
}
</script>